body {
  max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
  color: #000;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
* {
  box-sizing: border-box;
}
button {
  margin: 0;
  background: none;
  padding: 0;
}
/*
flex css 样式规则
class 含flex则被显示为felx布局,
flex-后面第1个字母表示flex-direction行（r）或列（c）
flex-后面第2个字母表示justify-content, s、e、a、b、c对应flex-start,flex-end,space-around,space-between,center
flex-后面第3个字母表示align-items, s、e、c对应flex-start,flex-end,center
*/
[class^='flex'] {
  display: flex;
}
[class^='flex-r'] {
  flex-direction: row;
}
[class^='flex-c'] {
  flex-direction: column;
}
[class^='flex-rs'] {
  justify-content: flex-start;
}
[class^='flex-re'] {
  justify-content: flex-end;
}
[class^='flex-ra'] {
  justify-content: space-around;
}
[class^='flex-rb'] {
  justify-content: space-between;
}
[class^='flex-rc'] {
  justify-content: center;
}
[class^='flex-cs'] {
  justify-content: flex-start;
}
[class^='flex-ce'] {
  justify-content: flex-end;
}
[class^='flex-ca'] {
  justify-content: space-around;
}
[class^='flex-cb'] {
  justify-content: space-between;
}
[class^='flex-cc'] {
  justify-content: center;
}
[class^='flex'][class$='s'] {
  align-items: flex-start;
  flex: 1;
}
[class^='flex'][class$='e'] {
  align-items: flex-end;
}
[class^='flex'][class$='c'] {
  align-items: center;
}
.flex-1 {
  flex: 1;
}
.fs-12 {
  font-size: 12px;
}
.fs-14 {
  font-size: 14px;
}
.fs-16 {
  font-size: 16px;
}
.fs-18 {
  font-size: 18px;
}
.fs-22 {
  font-size: 22px;
}
.fs-26 {
  font-size: 26px;
}
.pd-5 {
  padding-left: 5px;
  padding-right: 5px;
}
.pt5 {
  padding-top: 5px;
  padding-bottom: 5px;
}
.mg-t10 {
  margin-top: 10px;
}
.mg-b10 {
  margin-bottom: 10px;
}
.mg-l5 {
  margin-left: 5px;
}
.mg-r5 {
  margin-right: 5px;
}
.mg-l10 {
  margin-left: 10px;
}
.mg-r10 {
  margin-right: 10px;
}
.bor-b {
  border-bottom: 0.5px solid #e5e5e5;
}
.bor-t {
  border-top: 0.5px solid #e5e5e5;
}
.pos-r {
  position: relative;
}
.pos-a {
  position: absolute;
}
